/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 *
 * @author wei
 */
@Entity
public class PasswordChangeRequest extends DataObjectEntity implements Serializable {
    private String hashedId;
    private boolean used;
    private String email;

    public PasswordChangeRequest() {
        super();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getHashedId() {
        return hashedId;
    }

    public void setHashedId(String hashedId) {
        this.hashedId = hashedId;
    }

    public boolean isUsed() {
        return used;
    }

    public void setUsed(boolean used) {
        this.used = used;
    }

    @Override
    public String childToString() {
        return "PasswordChangeRequest{" + "hashedId=" + hashedId + ", used=" + used + ", email=" + email + '}';
    }
    
}
